package springcloud.feiginservice.impl;

import com.zb.springcloud.entities.CommonResult;
import com.zb.springcloud.entities.Payment;
import org.springframework.stereotype.Component;
import springcloud.feiginservice.PaymentService;
@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(444, "服务降级返回", new Payment(id, "error"));
    }
}
